package com.yya.ratelimiter.exception;

import lombok.Data;

/**
 * @Autor: yuanyongan
 * @Description:
 * @Date 2023/1/10 15:14
 */

@Data
public class RateLimitException extends RuntimeException{
    private int code;
    private String msg;

    public RateLimitException(int code, String msg){
        this.code = code;
        this.msg = msg;
    }
}
